package com.zlll.winner.enums.media;

import com.zlll.winner.enums.biz.Constant;

public class MediaEnum {

    /**
     * 状态枚举
     */
    public enum StatusEnum implements Constant {
        WAIT("等待直播",1),
        PLAY("直播中",2),
        REPLAY("回放",3);

        private String desc;
        private int value;

        StatusEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

    /**
     * 用户收听直播日志类型枚举
     */
    public enum LogTypeEnum implements Constant {
        IN("进入",1),
        OUT("离开",2);

        private String desc;
        private int value;

        LogTypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

    /**
     * 栏目类型
     */
    public enum TypeEnum implements Constant {
        NEWLIST("电台",1),
        VIDEOLIST("视频",2);

        private String desc;
        private int value;

        TypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }




}
